import React,{useContext} from 'react'

import { ColorContext } from './Color'

const Show = (props) =>{
    const {color}  = useContext(ColorContext)
    return (
        <div style={{color:color}}>字体展示颜色为{color}</div>
    )
}

export default Show